# Uncomment the next line to define a global platform for your project
 platform :ios, '14.0'

target 'JoinPeso' do
 
  use_frameworks!

  pod 'Masonry', '1.1.0'
  
  pod 'MJRefresh'
  
  pod 'YYModel', '1.0.4'
  
  pod 'FBSDKCoreKit','~> 17.0.0'
  
  pod 'LookinServer', '1.0.6', :configurations => ['Debug']
  
  pod 'SDWebImage', :git => 'git@gitee.com:xq37/xqsdweb-image.git', :tag => 'dev_3.7.6'
  
  pod 'Reachability', :git => 'git@gitee.com:xq37/xqreachability.git', :tag => '3.2'
  
  pod 'AFNetworking', :git => 'git@gitee.com:xq37/xqafnetworking.git', :tag => '2.6.3'
  
  
  post_install do |installer|
   installer.pods_project.targets.each do |target|
     target.build_configurations.each do |config|
         config.build_settings["DEVELOPMENT_TEAM"] = "YUQ352UGYJ"
     end
   end
  end

  # remove UIKit(UIWebView) rejected by AppStore
      pre_install do |installer|
          puts 'pre_install begin....'
          dir_af = File.join(installer.sandbox.pod_dir('AFNetworking'), 'UIKit+AFNetworking')
          Dir.foreach(dir_af) {|x|
            real_path = File.join(dir_af, x)
            if (!File.directory?(real_path) && File.exists?(real_path))
              if((x.start_with?('UIWebView') || x == 'UIKit+AFNetworking.h'))
                File.delete(real_path)
                puts 'delete:'+ x
              end
            end
          }
          puts 'end pre_install.'
      end


end
